package com.ztgf.order.models.bo.purchase;

import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 采购信息表BO
 *
 * @author mxli
 * @Date 2021-05-17 10:15:52
 */
@Data
public class PurchaseInfoSellBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "询价单编号")
    private Long id;
    @ApiModelProperty(value = "询价单编号，已逗号间隔")
    private String ids;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    @ApiModelProperty(value = "商品id")
    private String commodityName;
    @ApiModelProperty(value = "询价单名称")
    private String purchaseName;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date startDate;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date endDate;
    @ApiModelProperty(value = "报价状态（默认0）：0报价中、1报价结束、2取消报价、3流标、4待一次报价、5待二次报价、6待三次报价，7待报价")
    private Integer bargainStatus = 0;
    @ApiModelProperty(value = "报价次数")
    private Integer bargainPriceTimes;

    @ApiModelProperty(value = "取消原因")
    private Integer canceType;

    @ApiModelProperty(value = "pdf路径")
    private List<PurchaseCommodityPDFUrlBO> pdfUrl;

}
